<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <div id="asd">
        <div id="asd-son">1233</div>
    </div>
</body>
</html>
<script>
    // var p0 = document.querySelector('#asd')
    //     p1 = document.querySelector('#asd-son')

    // var p = document.createElement('p')
    // console.log(p);
    // p.innerText = '123'
    // p0.appendChild(p)
    // p0.insertBefore(p,p1)
    // p0.replaceChild(p,p1)
    // p0.removeChild(p1)
</script>